package com.minimoment.model.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by etund on 2014/10/27.
 */
public class Theater implements Serializable {
    /**
     * id					Long					(主键)
     theaterName			String					影院名字
     blocking			char[][]				二维数组座位布局(假设一个电影院里面每个播放厅的座位布局都是一样的，且仅有一个播放厅)
     imagePath			String					介绍所用到的图片的路径(大概就是一个门面图)
     introduction		String					影院介绍(由该影院提供)：没有评论的功能
     movie				Set(多对多)				电影(tb_threater_movie)
     screeningses		Set(一对多)				场次(tb_threater_screenings)
     history				Set(一对多)				对应订单(tb_threater_order)
     area				area(多对一)			地区
     */
    private Long   id;
    private String  theaterName;
    private char[][]    bloacking;
    private String bloack;
    private String imagePath;
    private String TEL;
    private String address;
    private String introduction;
    private Float score;
    private Area area;
    private Set<Movie> movies = new HashSet<Movie>();
    private Set<Screenings> screeningses;
    private Set<PuschaseHistory> histories = new HashSet<PuschaseHistory>();
    private Set<User> users = new HashSet<User>();

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public String getTEL() {
        return TEL;
    }

    public void setTEL(String TEL) {
        this.TEL = TEL;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Set<User> getUsers() {
        return users;
    }

    public void setUsers(Set<User> users) {
        this.users = users;
    }

    public String getBloack() {
        return bloack;
    }

    public void setBloack(String bloack) {
        this.bloack = bloack;
    }

    public Set<Movie> getMovies() {
        return movies;
    }

    public void setMovies(Set<Movie> movies) {
        this.movies = movies;
    }

    public Set<Screenings> getScreeningses() {
        return screeningses;
    }

    public void setScreeningses(Set<Screenings> screeningses) {
        this.screeningses = screeningses;
    }

    public Set<PuschaseHistory> getHistories() {
        return histories;
    }

    public void setHistories(Set<PuschaseHistory> histories) {
        this.histories = histories;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTheaterName() {
        return theaterName;
    }

    public void setTheaterName(String theaterName) {
        this.theaterName = theaterName;
    }

    public char[][] getBloacking() {
        return bloacking;
    }

    public void setBloacking(char[][] bloacking) {
        this.bloacking = bloacking;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}
